<%--
  Created by IntelliJ IDEA.
  User: dailyblue
  Date: 2023/4/9
  Time: 10:18
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" isELIgnored="false" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>商品展示</title>
</head>
<body>
<a href="cart.jsp">查看购物车</a>
<c:forEach var="g" items="${GOODS}" varStatus="j">
    <p>
            ${j.count}&nbsp;&nbsp;${g.name}&nbsp;&nbsp;${g.price}&nbsp;&nbsp;
                <a href="../session?type=cart&id=${g.id}">加入购物车</a>
    </p>
</c:forEach>
</body>
</html>
